package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.dto.OrdersDto;
import com.itheima.pojo.Orders;
import com.itheima.result.R;
import org.springframework.transaction.annotation.Transactional;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDateTime;

/**
 * @Author: 斌
 * @DateTime: 2023年02月12日  21:03:27
 * @Description: com.itheima.service
 * @Version: 1.0
 */
@Transactional
public interface OrdersDtoService  {
    R submitOrder(Orders orders);

    R pageOrder(Integer page, Integer pageSize);

    R ordersPage(Integer page, Integer pageSize, Long number, String beginTime, String endTime);

    R updateStatus(Orders orders);

    R againOrders(Orders orders);

    void exportOrders(HttpServletResponse response);

}
